3.240 \(\int \frac{a+b \log (c x^n)}{x^4 (d+e x^2)^3} \, dx\)

Optimal. Leaf size=260 \[ -\frac{35 i b e^{3/2} n \text{PolyLog}\left (2,-\frac{i \sqrt{e} x}{\sqrt{d}}\right )}{16 d^{9/2}}+\frac{35 i b e^{3/2} n \text{PolyLog}\left (2,\frac{i \sqrt{e} x}{\sqrt{d}}\right )}{16 d^{9/2}}+\frac{e^{3/2} \tan ^{-1}\left (\frac{\sqrt{e} x}{\sqrt{d}}\right ) \left (35 a+35 b \log \left (c x^n\right )-12 b n\right )}{8 d^{9/2}}+\frac{e \left (35 a+35 b \log \left (c x^n\right )-12 b n\right )}{8 d^4 x}+\frac{7 a+7 b \log \left (c x^n\right )-b n}{8 d^2 x^3 \left (d+e x^2\right )}-\frac{35 a+35 b \log \left (c x^n\right )-12 b n}{24 d^3 x^3}+\frac{a+b \log \left (c x^n\right )}{4 d x^3 \left (d+e x^2\right )^2}+\frac{35 b e n}{8 d^4 x}-\frac{35 b n}{72 d^3 x^3} \]

[Out]

(-35*b*n)/(72*d^3*x^3) + (35*b*e*n)/(8*d^4*x) + (a + b*Log[c*x^n])/(4*d*x^3*(d + e*x^2)^2) + (7*a - b*n + 7*b*
Log[c*x^n])/(8*d^2*x^3*(d + e*x^2)) - (35*a - 12*b*n + 35*b*Log[c*x^n])/(24*d^3*x^3) + (e*(35*a - 12*b*n + 35*
b*Log[c*x^n]))/(8*d^4*x) + (e^(3/2)*ArcTan[(Sqrt[e]*x)/Sqrt[d]]*(35*a - 12*b*n + 35*b*Log[c*x^n]))/(8*d^(9/2))
 - (((35*I)/16)*b*e^(3/2)*n*PolyLog[2, ((-I)*Sqrt[e]*x)/Sqrt[d]])/d^(9/2) + (((35*I)/16)*b*e^(3/2)*n*PolyLog[2
, (I*Sqrt[e]*x)/Sqrt[d]])/d^(9/2)

________________________________________________________________________________________

Rubi [A]  time = 0.420994, antiderivative size = 260, normalized size of antiderivative = 1., number of steps used = 11, number of rules used = 9, integrand size = 23, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.391, Rules used = {2340, 325, 205, 2351, 2304, 2324, 12, 4848, 2391} \[ -\frac{35 i b e^{3/2} n \text{PolyLog}\left (2,-\frac{i \sqrt{e} x}{\sqrt{d}}\right )}{16 d^{9/2}}+\frac{35 i b e^{3/2} n \text{PolyLog}\left (2,\frac{i \sqrt{e} x}{\sqrt{d}}\right )}{16 d^{9/2}}+\frac{e^{3/2} \tan ^{-1}\left (\frac{\sqrt{e} x}{\sqrt{d}}\right ) \left (35 a+35 b \log \left (c x^n\right )-12 b n\right )}{8 d^{9/2}}+\frac{e \left (35 a+35 b \log \left (c x^n\right )-12 b n\right )}{8 d^4 x}+\frac{7 a+7 b \log \left (c x^n\right )-b n}{8 d^2 x^3 \left (d+e x^2\right )}-\frac{35 a+35 b \log \left (c x^n\right )-12 b n}{24 d^3 x^3}+\frac{a+b \log \left (c x^n\right )}{4 d x^3 \left (d+e x^2\right )^2}+\frac{35 b e n}{8 d^4 x}-\frac{35 b n}{72 d^3 x^3} \]

Antiderivative was successfully verified.

[In]

Int[(a + b*Log[c*x^n])/(x^4*(d + e*x^2)^3),x]

[Out]

(-35*b*n)/(72*d^3*x^3) + (35*b*e*n)/(8*d^4*x) + (a + b*Log[c*x^n])/(4*d*x^3*(d + e*x^2)^2) + (7*a - b*n + 7*b*
Log[c*x^n])/(8*d^2*x^3*(d + e*x^2)) - (35*a - 12*b*n + 35*b*Log[c*x^n])/(24*d^3*x^3) + (e*(35*a - 12*b*n + 35*
b*Log[c*x^n]))/(8*d^4*x) + (e^(3/2)*ArcTan[(Sqrt[e]*x)/Sqrt[d]]*(35*a - 12*b*n + 35*b*Log[c*x^n]))/(8*d^(9/2))
 - (((35*I)/16)*b*e^(3/2)*n*PolyLog[2, ((-I)*Sqrt[e]*x)/Sqrt[d]])/d^(9/2) + (((35*I)/16)*b*e^(3/2)*n*PolyLog[2
, (I*Sqrt[e]*x)/Sqrt[d]])/d^(9/2)

Rule 2340

Int[((a_.) + Log[(c_.)*(x_)^(n_.)]*(b_.))*((f_.)*(x_))^(m_.)*((d_) + (e_.)*(x_)^2)^(q_.), x_Symbol] :> -Simp[(
(f*x)^(m + 1)*(d + e*x^2)^(q + 1)*(a + b*Log[c*x^n]))/(2*d*f*(q + 1)), x] + Dist[1/(2*d*(q + 1)), Int[(f*x)^m*
(d + e*x^2)^(q + 1)*(a*(m + 2*q + 3) + b*n + b*(m + 2*q + 3)*Log[c*x^n]), x], x] /; FreeQ[{a, b, c, d, e, f, m
, n}, x] && ILtQ[q, -1] && ILtQ[m, 0]

Rule 325

Int[((c_.)*(x_))^(m_)*((a_) + (b_.)*(x_)^(n_))^(p_), x_Symbol] :> Simp[((c*x)^(m + 1)*(a + b*x^n)^(p + 1))/(a*
c*(m + 1)), x] - Dist[(b*(m + n*(p + 1) + 1))/(a*c^n*(m + 1)), Int[(c*x)^(m + n)*(a + b*x^n)^p, x], x] /; Free
Q[{a, b, c, p}, x] && IGtQ[n, 0] && LtQ[m, -1] && IntBinomialQ[a, b, c, n, m, p, x]

Rule 205

Int[((a_) + (b_.)*(x_)^2)^(-1), x_Symbol] :> Simp[(Rt[a/b, 2]*ArcTan[x/Rt[a/b, 2]])/a, x] /; FreeQ[{a, b}, x]
&& PosQ[a/b]

Rule 2351

Int[((a_.) + Log[(c_.)*(x_)^(n_.)]*(b_.))*((f_.)*(x_))^(m_.)*((d_) + (e_.)*(x_)^(r_.))^(q_.), x_Symbol] :> Wit
h[{u = ExpandIntegrand[a + b*Log[c*x^n], (f*x)^m*(d + e*x^r)^q, x]}, Int[u, x] /; SumQ[u]] /; FreeQ[{a, b, c,
d, e, f, m, n, q, r}, x] && IntegerQ[q] && (GtQ[q, 0] || (IntegerQ[m] && IntegerQ[r]))

Rule 2304

Int[((a_.) + Log[(c_.)*(x_)^(n_.)]*(b_.))*((d_.)*(x_))^(m_.), x_Symbol] :> Simp[((d*x)^(m + 1)*(a + b*Log[c*x^
n]))/(d*(m + 1)), x] - Simp[(b*n*(d*x)^(m + 1))/(d*(m + 1)^2), x] /; FreeQ[{a, b, c, d, m, n}, x] && NeQ[m, -1
]

Rule 2324

Int[((a_.) + Log[(c_.)*(x_)^(n_.)]*(b_.))/((d_) + (e_.)*(x_)^2), x_Symbol] :> With[{u = IntHide[1/(d + e*x^2),
 x]}, Simp[u*(a + b*Log[c*x^n]), x] - Dist[b*n, Int[u/x, x], x]] /; FreeQ[{a, b, c, d, e, n}, x]

Rule 12

Int[(a_)*(u_), x_Symbol] :> Dist[a, Int[u, x], x] /; FreeQ[a, x] &&  !MatchQ[u, (b_)*(v_) /; FreeQ[b, x]]

Rule 4848

Int[((a_.) + ArcTan[(c_.)*(x_)]*(b_.))/(x_), x_Symbol] :> Simp[a*Log[x], x] + (Dist[(I*b)/2, Int[Log[1 - I*c*x
]/x, x], x] - Dist[(I*b)/2, Int[Log[1 + I*c*x]/x, x], x]) /; FreeQ[{a, b, c}, x]

Rule 2391

Int[Log[(c_.)*((d_) + (e_.)*(x_)^(n_.))]/(x_), x_Symbol] :> -Simp[PolyLog[2, -(c*e*x^n)]/n, x] /; FreeQ[{c, d,
 e, n}, x] && EqQ[c*d, 1]

Rubi steps

\begin{align*} \int \frac{a+b \log \left (c x^n\right )}{x^4 \left (d+e x^2\right )^3} \, dx &=\frac{a+b \log \left (c x^n\right )}{4 d x^3 \left (d+e x^2\right )^2}-\frac{\int \frac{-7 a+b n-7 b \log \left (c x^n\right )}{x^4 \left (d+e x^2\right )^2} \, dx}{4 d}\\ &=\frac{a+b \log \left (c x^n\right )}{4 d x^3 \left (d+e x^2\right )^2}+\frac{7 a-b n+7 b \log \left (c x^n\right )}{8 d^2 x^3 \left (d+e x^2\right )}+\frac{\int \frac{-7 b n-5 (-7 a+b n)+35 b \log \left (c x^n\right )}{x^4 \left (d+e x^2\right )} \, dx}{8 d^2}\\ &=\frac{a+b \log \left (c x^n\right )}{4 d x^3 \left (d+e x^2\right )^2}+\frac{7 a-b n+7 b \log \left (c x^n\right )}{8 d^2 x^3 \left (d+e x^2\right )}+\frac{\int \left (\frac{-7 b n-5 (-7 a+b n)+35 b \log \left (c x^n\right )}{d x^4}-\frac{e \left (-7 b n-5 (-7 a+b n)+35 b \log \left (c x^n\right )\right )}{d^2 x^2}+\frac{e^2 \left (-7 b n-5 (-7 a+b n)+35 b \log \left (c x^n\right )\right )}{d^2 \left (d+e x^2\right )}\right ) \, dx}{8 d^2}\\ &=\frac{a+b \log \left (c x^n\right )}{4 d x^3 \left (d+e x^2\right )^2}+\frac{7 a-b n+7 b \log \left (c x^n\right )}{8 d^2 x^3 \left (d+e x^2\right )}+\frac{\int \frac{-7 b n-5 (-7 a+b n)+35 b \log \left (c x^n\right )}{x^4} \, dx}{8 d^3}-\frac{e \int \frac{-7 b n-5 (-7 a+b n)+35 b \log \left (c x^n\right )}{x^2} \, dx}{8 d^4}+\frac{e^2 \int \frac{-7 b n-5 (-7 a+b n)+35 b \log \left (c x^n\right )}{d+e x^2} \, dx}{8 d^4}\\ &=-\frac{35 b n}{72 d^3 x^3}+\frac{35 b e n}{8 d^4 x}+\frac{a+b \log \left (c x^n\right )}{4 d x^3 \left (d+e x^2\right )^2}+\frac{7 a-b n+7 b \log \left (c x^n\right )}{8 d^2 x^3 \left (d+e x^2\right )}-\frac{35 a-12 b n+35 b \log \left (c x^n\right )}{24 d^3 x^3}+\frac{e \left (35 a-12 b n+35 b \log \left (c x^n\right )\right )}{8 d^4 x}+\frac{e^{3/2} \tan ^{-1}\left (\frac{\sqrt{e} x}{\sqrt{d}}\right ) \left (35 a-12 b n+35 b \log \left (c x^n\right )\right )}{8 d^{9/2}}-\frac{\left (35 b e^2 n\right ) \int \frac{\tan ^{-1}\left (\frac{\sqrt{e} x}{\sqrt{d}}\right )}{\sqrt{d} \sqrt{e} x} \, dx}{8 d^4}\\ &=-\frac{35 b n}{72 d^3 x^3}+\frac{35 b e n}{8 d^4 x}+\frac{a+b \log \left (c x^n\right )}{4 d x^3 \left (d+e x^2\right )^2}+\frac{7 a-b n+7 b \log \left (c x^n\right )}{8 d^2 x^3 \left (d+e x^2\right )}-\frac{35 a-12 b n+35 b \log \left (c x^n\right )}{24 d^3 x^3}+\frac{e \left (35 a-12 b n+35 b \log \left (c x^n\right )\right )}{8 d^4 x}+\frac{e^{3/2} \tan ^{-1}\left (\frac{\sqrt{e} x}{\sqrt{d}}\right ) \left (35 a-12 b n+35 b \log \left (c x^n\right )\right )}{8 d^{9/2}}-\frac{\left (35 b e^{3/2} n\right ) \int \frac{\tan ^{-1}\left (\frac{\sqrt{e} x}{\sqrt{d}}\right )}{x} \, dx}{8 d^{9/2}}\\ &=-\frac{35 b n}{72 d^3 x^3}+\frac{35 b e n}{8 d^4 x}+\frac{a+b \log \left (c x^n\right )}{4 d x^3 \left (d+e x^2\right )^2}+\frac{7 a-b n+7 b \log \left (c x^n\right )}{8 d^2 x^3 \left (d+e x^2\right )}-\frac{35 a-12 b n+35 b \log \left (c x^n\right )}{24 d^3 x^3}+\frac{e \left (35 a-12 b n+35 b \log \left (c x^n\right )\right )}{8 d^4 x}+\frac{e^{3/2} \tan ^{-1}\left (\frac{\sqrt{e} x}{\sqrt{d}}\right ) \left (35 a-12 b n+35 b \log \left (c x^n\right )\right )}{8 d^{9/2}}-\frac{\left (35 i b e^{3/2} n\right ) \int \frac{\log \left (1-\frac{i \sqrt{e} x}{\sqrt{d}}\right )}{x} \, dx}{16 d^{9/2}}+\frac{\left (35 i b e^{3/2} n\right ) \int \frac{\log \left (1+\frac{i \sqrt{e} x}{\sqrt{d}}\right )}{x} \, dx}{16 d^{9/2}}\\ &=-\frac{35 b n}{72 d^3 x^3}+\frac{35 b e n}{8 d^4 x}+\frac{a+b \log \left (c x^n\right )}{4 d x^3 \left (d+e x^2\right )^2}+\frac{7 a-b n+7 b \log \left (c x^n\right )}{8 d^2 x^3 \left (d+e x^2\right )}-\frac{35 a-12 b n+35 b \log \left (c x^n\right )}{24 d^3 x^3}+\frac{e \left (35 a-12 b n+35 b \log \left (c x^n\right )\right )}{8 d^4 x}+\frac{e^{3/2} \tan ^{-1}\left (\frac{\sqrt{e} x}{\sqrt{d}}\right ) \left (35 a-12 b n+35 b \log \left (c x^n\right )\right )}{8 d^{9/2}}-\frac{35 i b e^{3/2} n \text{Li}_2\left (-\frac{i \sqrt{e} x}{\sqrt{d}}\right )}{16 d^{9/2}}+\frac{35 i b e^{3/2} n \text{Li}_2\left (\frac{i \sqrt{e} x}{\sqrt{d}}\right )}{16 d^{9/2}}\\ \end{align*}

Mathematica [B]  time = 1.84227, size = 584, normalized size = 2.25 \[ \frac{1}{144} \left (\frac{315 b e^{3/2} n \text{PolyLog}\left (2,\frac{\sqrt{e} x}{\sqrt{-d}}\right )}{(-d)^{9/2}}-\frac{315 b e^{3/2} n \text{PolyLog}\left (2,\frac{d \sqrt{e} x}{(-d)^{3/2}}\right )}{(-d)^{9/2}}-\frac{99 e^{3/2} \left (a+b \log \left (c x^n\right )\right )}{d^4 \left (\sqrt{-d}-\sqrt{e} x\right )}+\frac{99 e^{3/2} \left (a+b \log \left (c x^n\right )\right )}{d^4 \left (\sqrt{-d}+\sqrt{e} x\right )}+\frac{432 e \left (a+b \log \left (c x^n\right )\right )}{d^4 x}-\frac{48 \left (a+b \log \left (c x^n\right )\right )}{d^3 x^3}-\frac{9 e^{3/2} \left (a+b \log \left (c x^n\right )\right )}{(-d)^{7/2} \left (\sqrt{-d}-\sqrt{e} x\right )^2}+\frac{9 e^{3/2} \left (a+b \log \left (c x^n\right )\right )}{(-d)^{7/2} \left (\sqrt{-d}+\sqrt{e} x\right )^2}-\frac{315 e^{3/2} \log \left (\frac{\sqrt{e} x}{\sqrt{-d}}+1\right ) \left (a+b \log \left (c x^n\right )\right )}{(-d)^{9/2}}+\frac{315 e^{3/2} \log \left (\frac{d \sqrt{e} x}{(-d)^{3/2}}+1\right ) \left (a+b \log \left (c x^n\right )\right )}{(-d)^{9/2}}+\frac{432 b e n}{d^4 x}-\frac{16 b n}{d^3 x^3}+\frac{99 b e^{3/2} n \left (\log (x)-\log \left (\sqrt{-d}-\sqrt{e} x\right )\right )}{(-d)^{9/2}}-\frac{99 b e^{3/2} n \left (\log (x)-\log \left (\sqrt{-d}+\sqrt{e} x\right )\right )}{(-d)^{9/2}}-\frac{9 b e^{3/2} n \left (\frac{1}{\sqrt{-d} \left (\sqrt{-d}+\sqrt{e} x\right )}+\frac{\log \left (\sqrt{-d}+\sqrt{e} x\right )}{d}-\frac{\log (x)}{d}\right )}{(-d)^{7/2}}+\frac{9 b e^{3/2} n \left (\frac{1}{\sqrt{-d} \left (\sqrt{-d}-\sqrt{e} x\right )}+\frac{\log \left (d \sqrt{e} x+(-d)^{3/2}\right )}{d}-\frac{\log (x)}{d}\right )}{(-d)^{7/2}}\right ) \]

Antiderivative was successfully verified.

[In]

Integrate[(a + b*Log[c*x^n])/(x^4*(d + e*x^2)^3),x]

[Out]

((-16*b*n)/(d^3*x^3) + (432*b*e*n)/(d^4*x) - (48*(a + b*Log[c*x^n]))/(d^3*x^3) + (432*e*(a + b*Log[c*x^n]))/(d
^4*x) - (9*e^(3/2)*(a + b*Log[c*x^n]))/((-d)^(7/2)*(Sqrt[-d] - Sqrt[e]*x)^2) - (99*e^(3/2)*(a + b*Log[c*x^n]))
/(d^4*(Sqrt[-d] - Sqrt[e]*x)) + (9*e^(3/2)*(a + b*Log[c*x^n]))/((-d)^(7/2)*(Sqrt[-d] + Sqrt[e]*x)^2) + (99*e^(
3/2)*(a + b*Log[c*x^n]))/(d^4*(Sqrt[-d] + Sqrt[e]*x)) + (99*b*e^(3/2)*n*(Log[x] - Log[Sqrt[-d] - Sqrt[e]*x]))/
(-d)^(9/2) - (99*b*e^(3/2)*n*(Log[x] - Log[Sqrt[-d] + Sqrt[e]*x]))/(-d)^(9/2) - (9*b*e^(3/2)*n*(1/(Sqrt[-d]*(S
qrt[-d] + Sqrt[e]*x)) - Log[x]/d + Log[Sqrt[-d] + Sqrt[e]*x]/d))/(-d)^(7/2) - (315*e^(3/2)*(a + b*Log[c*x^n])*
Log[1 + (Sqrt[e]*x)/Sqrt[-d]])/(-d)^(9/2) + (9*b*e^(3/2)*n*(1/(Sqrt[-d]*(Sqrt[-d] - Sqrt[e]*x)) - Log[x]/d + L
og[(-d)^(3/2) + d*Sqrt[e]*x]/d))/(-d)^(7/2) + (315*e^(3/2)*(a + b*Log[c*x^n])*Log[1 + (d*Sqrt[e]*x)/(-d)^(3/2)
])/(-d)^(9/2) + (315*b*e^(3/2)*n*PolyLog[2, (Sqrt[e]*x)/Sqrt[-d]])/(-d)^(9/2) - (315*b*e^(3/2)*n*PolyLog[2, (d
*Sqrt[e]*x)/(-d)^(3/2)])/(-d)^(9/2))/144

________________________________________________________________________________________

Maple [C]  time = 0.316, size = 1729, normalized size = 6.7 \begin{align*} \text{result too large to display} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((a+b*ln(c*x^n))/x^4/(e*x^2+d)^3,x)

[Out]

-1/3*b*ln(c)/d^3/x^3-1/8*b*n*e^2/d^4*x/(e*x^2+d)-3/2*b*n/d^4*e^2/(d*e)^(1/2)*arctan(x*e/(d*e)^(1/2))+35/16*b*n
*e^2/d^4/(-d*e)^(1/2)*dilog((-e*x+(-d*e)^(1/2))/(-d*e)^(1/2))-35/16*b*n*e^2/d^4/(-d*e)^(1/2)*dilog((e*x+(-d*e)
^(1/2))/(-d*e)^(1/2))-3/2*I*b*Pi*csgn(I*c*x^n)^3/d^4*e/x+13/8*a/d^3*e^2/(e*x^2+d)^2*x+11/8*b*ln(c)/d^4*e^3/(e*
x^2+d)^2*x^3+13/8*b*ln(c)/d^3*e^2/(e*x^2+d)^2*x+35/8*b*ln(c)/d^4*e^2/(d*e)^(1/2)*arctan(x*e/(d*e)^(1/2))+11/8*
b/d^4*e^3/(e*x^2+d)^2*x^3*ln(x^n)-13/16*I*b*Pi*csgn(I*x^n)*csgn(I*c*x^n)*csgn(I*c)/d^3*e^2/(e*x^2+d)^2*x-1/6*I
*b*Pi*csgn(I*x^n)*csg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*x^n)^2*csgn(I*c)/d^4*e^3/(e*x^2+d)^2*x^3+35/16*I*b*Pi
*csgn(I*c*x^n)^2*csgn(I*c)/d^4*e^2/(d*e)^(1/2)*arctan(x*e/(d*e)^(1/2))+11/16*I*b*Pi*csgn(I*x^n)*csgn(I*c*x^n)^
2/d^4*e^3/(e*x^2+d)^2*x^3-3/2*I*b*Pi*csgn(I*x^n)*csgn(I*c*x^n)*csgn(I*c)/d^4*e/x+13/16*I*b*Pi*csgn(I*c*x^n)^2*
csgn(I*c)/d^3*e^2/(e*x^2+d)^2*x+3*b*ln(c)/d^4*e/x+3*b*ln(x^n)/d^4*e/x-1/9*b*n/d^3/x^3-1/3*a/d^3/x^3+3*b*e*n/d^
4/x

________________________________________________________________________________________

Maxima [F(-2)]  time = 0., size = 0, normalized size = 0. \begin{align*} \text{Exception raised: ValueError} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((a+b*log(c*x^n))/x^4/(e*x^2+d)^3,x, algorithm="maxima")

[Out]

Exception raised: ValueError

________________________________________________________________________________________

Fricas [F]  time = 0., size = 0, normalized size = 0. \begin{align*}{\rm integral}\left (\frac{b \log \left (c x^{n}\right ) + a}{e^{3} x^{10} + 3 \, d e^{2} x^{8} + 3 \, d^{2} e x^{6} + d^{3} x^{4}}, x\right ) \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((a+b*log(c*x^n))/x^4/(e*x^2+d)^3,x, algorithm="fricas")

[Out]

integral((b*log(c*x^n) + a)/(e^3*x^10 + 3*d*e^2*x^8 + 3*d^2*e*x^6 + d^3*x^4), x)

________________________________________________________________________________________

Sympy [F(-1)]  time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((a+b*ln(c*x**n))/x**4/(e*x**2+d)**3,x)

[Out]

Timed out

________________________________________________________________________________________

Giac [F]  time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{b \log \left (c x^{n}\right ) + a}{{\left (e x^{2} + d\right )}^{3} x^{4}}\,{d x} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((a+b*log(c*x^n))/x^4/(e*x^2+d)^3,x, algorithm="giac")

[Out]

integrate((b*log(c*x^n) + a)/((e*x^2 + d)^3*x^4), x)